package com.heima.xxl.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class XxlJobTask {

    @XxlJob("hellojob")
    public void task1(){
      log.info("接收到xxl-job的调度任务-------");
    }
}
